package com.hsgene.order.domain.reconciliation;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 业务对账列表
 *
 * @author wxf
 * @date 2018/11/7 15:32
 **/
public class ReconciliationListInfo implements Serializable {

    /**
     * 数据库id
     */
    private String payId;
    /**
     * 类型，目前只有基因检测
     */
    private String orderType;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 商品名称
     */
    private String packageName;
    /**
     * 支付流水号
     */
    private String paySerialNumber;
    /**
     * 支付机构(订单价格)
     */
    private String payAgency;
    /**
     * 收入(支付的钱)
     */
    private Double income;
    /**
     * 支付金额
     */
    private Double payAmount;
    /**
     * 服务费
     */
    private Double serviceFee;
    /**
     * 对账时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reconciliaTime;
    /**
     * 对账类型
     */
    private String reconciliaType;

    private String remarks;

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getPaySerialNumber() {
        return paySerialNumber;
    }

    public void setPaySerialNumber(String paySerialNumber) {
        this.paySerialNumber = paySerialNumber;
    }

    public String getPayAgency() {
        return payAgency;
    }

    public void setPayAgency(String payAgency) {
        this.payAgency = payAgency;
    }

    public Double getIncome() {
        return income;
    }

    public void setIncome(Double income) {
        this.income = income;
    }

    public Double getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Double payAmount) {
        this.payAmount = payAmount;
    }

    public Double getServiceFee() {
        return serviceFee;
    }

    public void setServiceFee(Double serviceFee) {
        this.serviceFee = serviceFee;
    }

    public Date getReconciliaTime() {
        return reconciliaTime;
    }

    public void setReconciliaTime(Date reconciliaTime) {
        this.reconciliaTime = reconciliaTime;
    }

    public String getReconciliaType() {
        return reconciliaType;
    }

    public void setReconciliaType(String reconciliaType) {
        this.reconciliaType = reconciliaType;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
